POV-Ray : Newsgroups : povray.newusers : Spherical board. : Re: Spherical board. Server Time
30 Jul 2024 20:27:03 EDT (-0400)
  Re: Spherical board.  
From: JC (Exether)
Date: 16 Sep 2003 04:20:10
Message: <3f66c7ba@news.povray.org>
Is that what you want ?

#declare T_G1=texture {
   pigment {
     gradient y
     color_map {
       [0.0 rgb 1.0]
       [0.5 rgb 1.0]
       [0.5 rgb 0.0]
       [1.0 rgb 0.0]
     }
     scale 1/4
   }
}

#declare T_G2=texture {
   T_G1
   translate <0,1/8,0>
}

sphere {
   <0,1,0>, 1
   texture {
     radial
     frequency 4
     texture_map {
       [0.0 T_G1]
       [0.5 T_G1]
       [0.5 T_G2]
       [1.0 T_G2]
     }
   }
}


Miguel Garcia wrote:
> I would like to make with POV a non-traditional spherical chess board. I
> already have the 1-parametric description of the lines that play the role of
> sides of the squares. The intersections of such lines are the corners of the
> squares, for which I would like to use two different patterns, of course.
> 
> I have some idea about how to do it, but does not seem very practical. Any
> suggestions?
> 
> 
> Thanks in advance.
> 
> 
> --


> Universidad Complutense de Madrid
> 

> Avda. Complutense s/n
> 28040 Madrid
> Tlf. 91 394 44 11
> 
>


Post a reply to this message

Copyright 2003-2023 Persistence of Vision Raytracer Pty. Ltd.